﻿using Mvc2Ng.Web.NgLib.Extensions.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Mvc2Ng.Web.UI.Models {


  public enum MessageType {

    Mail,
    Chat,
    Discussion

  }


  [Angular("vm", "newMessage")]
  public class NewMessage {

    [Required]
    [NgField(Case = CaseNotion.CamelCase)]
    public string Content { get; set; }


    [ScaffoldColumn(false)]
    public MessageType Type { get; set; }

  }

}